﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace MLY.UserControls
{
    public partial class StyledUpDown : System.Web.UI.UserControl
    {
        public String Text { get { return ValueTextBox.Text; } set { ValueTextBox.Text = value; } }

        bool _isRequired = false;
        public bool isRequired { get { return _isRequired; } set { _isRequired = value; } }
        bool doubleDigit = false;
        public bool DoubleDigit { get { return doubleDigit; } set { doubleDigit = value; } }
        protected void Page_Load(object sender, EventArgs e)
        {
           
        }
        protected override void Render(HtmlTextWriter writer)
        {
           
            if (DoubleDigit == true)
            {
                for (int i = 0; i < 100; i++)
                {
       //             NumericUpDownExtender2.RefValues += String.Format("0{0};", row);
                }
            }
      
            base.Render(writer);
        }
    }

   
}